package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.tomcat.util.security.Escape;

/**
 * @TableName tb_atta
 */
@TableName(value = "tb_atta")
@Data
public class TbAtta implements Serializable {
    /**
     * 附件ID
     */
    @TableId(type = IdType.AUTO)
    private Integer attaId;

    /**
     * 商品ID
     */
    private Integer prodId;

    /**
     * 附件名称
     */
    private String attaName;

    /**
     * 附件地址
     */
    private String attaUrl;

    @TableField(exist = false)
    private String ProdVideo;

    @TableField(exist = false)
    private List<TbImage> imageList;

    @TableField(exist = false)
    private Integer upType;

    @TableField(exist = false)
    private Date upTime;

    @TableField(exist = false)
    private Integer downType;

    @TableField(exist = false)
    private Date downTime;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}